package com.sxkawzp.consts;

/**
 * @author suxingkang
 * @version 1.0
 * @since 2025/1/17 15:41
 */
public class DataScopeConst {

    /**
     * 全部数据权限
     */
    public static final int DATA_SCOPE_ALL = Integer.MAX_VALUE;

    /**
     * 本级部门及以下数据权限
     */
    public static final int DATA_SCOPE_DEPT_AND_CHILD = 1000;

    /**
     * 自定数据权限
     */
    public static final int DATA_SCOPE_CUSTOM = 100;

    /**
     * 本级部门数据权限
     */
    public static final int DATA_SCOPE_DEPT = 10;

    /**
     * 仅本人数据权限
     */
    public static final int DATA_SCOPE_SELF = 0;


    public static final int EQUALS_VAL = 1;
    public static final int NO_EQUALS_VAL = 2;
    public static final int LIKE_VAL = 3;
    public static final int IN_VAL = 4;



    public static final String CUR_USER_PARAM = "CUR_USER_ID";
    public static final String CUR_DEPT_PARAM = "CUR_DEPT_ID";
    public static final String CUR_CHILD_DEPT_PARAM = "CUR_CHILD_DEPT_IDS";
    public static final String CUR_SELF_DEPT_PARAM = "CUR_SELF_DEPT_IDS";



}
